package org.biodas.jdas.client;

import org.biodas.jdas.client.adapters.sequence.DasSequenceAdapter;
import org.biodas.jdas.exceptions.DASClientException;

import javax.xml.bind.JAXBException;
import java.net.MalformedURLException;
import java.util.List;

public interface SequenceClientInterface {

	/**
	 * Retrieves the sequence response, arguments required.
	 * @param serverURL
	 * @param segments
	 * @return
	 * @throws MalformedURLException
	 * @throws JAXBException
	 */
	public abstract DasSequenceAdapter fetchData(String serverURL,
			List<String> segments) throws DASClientException;

}